package com.zb.service.impl;

import java.sql.ResultSet;

import com.zb.dao.CarDao;
import com.zb.dao.impl.CarDaoImpl;
import com.zb.entity.Car;
import com.zb.service.CarService;

public class CarServiceImpl implements CarService {
	private CarDao car=new CarDaoImpl();
	public void addCar(Car c) {
		car.addCar(c);
	}
	public int getMax() {
		
		return car.getMax();
	}

}
